package com.shaobufan.museum.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shaobufan.museum.pojo.entity.Department;

import java.util.List;

/**
 * @author 17126
 * @description 针对表【department(部门表)】的数据库操作Service
 * @createDate 2024-04-22 12:07:22
 */
public interface DepartmentService extends IService<Department> {

    /**
     * 添加部门
     *
     * @param departDetail 部门详情
     * @return Boolean
     */
    Boolean addDepartment(String departDetail);

    Department searchDepartmentById(Integer departId);

    List<Department> searchAllDepartment();
}